package com.glela.common.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.glela.common.dao.CFlagDao;
import com.glela.common.model.CFlag;
import com.glela.common.service.CFlagService;

@Service("cFlagService")
public class CFlagServiceImpl implements CFlagService {

	@Autowired
	private CFlagDao cFlagDao;
	
	@Override
	public CFlag selectByKey(String key) {
		return cFlagDao.selectByKey(key);
	}

	@Override
	public int updateValueByKey(String key, Integer value) {
		return cFlagDao.updateValueByKey(key, value);
	}

	
}
